package com.qf.advice;

import org.springframework.aop.AfterReturningAdvice;
import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * projectName: wokepase1
 *
 * @author: 强力
 * time: 2021/8/30 19:33
 * description:后置通知
 * 先执行Service业务方法 执行后通知
 */
public class AfterAdvice implements AfterReturningAdvice {


    @Override
    public void afterReturning(Object o, Method method, Object[] objects, Object o1) throws Throwable {
        System.out.println("=====辅助功能, 后置通知========打印执行日志==========");

    }
}
